using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;

using FlickrPortfolio.Models.Services;

namespace FlickrPortfolio.Controllers {
    public class AlbumController : Controller {
        private readonly AlbumService service = new AlbumService();

        public ActionResult Index() {
            return View(service.GetAlbums());
        }

        public ActionResult Show(string id)
        {
            return View(service.GetPhotos(id));
        }
    }
}
